<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网格布局</title>
    <style>
        div{
            /*grid: 块级元素 inline-grid:行内块级元素*/
            display: inline-grid;
            width: 200px;
            height: 200px;
            background: red;
        }
    </style>
</head>
<body>
    <div>
    </div>
</body>
</html>